package com.mars.basic;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.mars.common.fegin")
@ComponentScan(basePackages = {"com.mars"})
public class BasicLauch {
	public static void main(String[] args) {
		new SpringApplicationBuilder(BasicLauch.class).run(args);
	}
}
